//
//  UIImage+LJ.h
//

#import <UIKit/UIKit.h>

@interface UIImage (LJ)

+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

- (UIImage *)imageWithTintColor:(UIColor *)tintColor;

- (UIImage *)imageWithGradientTintColor:(UIColor *)tintColor;

- (UIImage *)circleImg;

+ (UIImage *)imageFromView:(UIView *)view;

+ (UIImage *)imageWithLineWithImageView:(UIImageView *)imageView;

+ (UIImage *)compressImage:(UIImage *)image toByte:(NSUInteger)maxLength;

+ (UIImage *)changeAlphaOfImageWith:(CGFloat)alpha withImage:(UIImage*)image;

@end
